Skip to content

remove uses of deprecated modules and packages, and some minor cleanups - #63

Merged
ctalledo merged 19 commits into
nestybox:masterfrom
thaJeztah:migrate_moby
Jul 27, 2026
Merged

remove uses of deprecated modules and packages, and some minor cleanups#63
ctalledo merged 19 commits into
nestybox:masterfrom
thaJeztah:migrate_moby

Conversation

@thaJeztah

Copy link
Copy Markdown
Contributor

shiftfs: go mod tidy

formatter: migrate to use moby/client

remove the deprecated github.com/docker/docker dependency

dockerUtils: migrate to github.com/moby/moby

remove the deprecated github.com/docker/docker dependency

dockerUtils: use stdlib slices.Contains

dockerUtils: go fix

fileMonitor: use stdlib slices.Contains

dockerUtils: use stdlib slices.Contains

fileMonitor: update logrus to reduce transitive deps

idShiftUtils: update logrus to reduce transitive deps

linuxUtils: update logrus to reduce transitive deps

pidmonitor: update logrus to reduce transitive deps

shiftfs: update logrus to reduce transitive deps

utils: update logrus to reduce transitive deps

containerdUtils: migrate to github.com/pelletier/go-toml/v2

containerd switch to use this module in v1.5.0; switch to use the
same module here.

containerdUtils: gofmt

containerdUtils: remove uses of deprecated io/ioutil

utils: remove uses of deprecated io/ioutil

linuxUtils: remove uses of deprecated io/ioutil

dockerUtils: use stdlib for testing

Only a single test was using testify for trivial asserts; use stdlib
to reduce (indirect) dependencies.

@thaJeztah

Copy link
Copy Markdown
Contributor Author

@rodnymolina @ctalledo PTAL

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
thaJeztah added 18 commits July 23, 2026 23:16
remove the deprecated github.com/docker/docker dependency

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
remove the deprecated github.com/docker/docker dependency

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
containerd switch to use this module in v1.5.0; switch to use the
same module here.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Only a single test was using testify for trivial asserts; use stdlib
to reduce (indirect) dependencies.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

@ctalledo ctalledo left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you very much @thaJeztah!

@ctalledo
ctalledo merged commit cacac19 into nestybox:master Jul 27, 2026
1 check passed
@thaJeztah
thaJeztah deleted the migrate_moby branch July 27, 2026 06:12
@thaJeztah

Copy link
Copy Markdown
Contributor Author

Thx for review! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants